add_library(minio_http_client
    src/http_client.cpp
)

target_link_libraries(minio_http_client
    minio_ilogger
    ${SHARE_LIB_CURL}
    ${SHARE_LIB_OPENSSL}
    ${SHARE_LIB_CRYPTO}
)

install(TARGETS minio_http_client
    CONFIGURATIONS Release Debug Profile Coverge
    LIBRARY DESTINATION lib
)

add_library(minio_ilogger
    src/ilogger.cpp
)

install(TARGETS minio_ilogger
    CONFIGURATIONS Release Debug Profile Coverge
    LIBRARY DESTINATION lib
)

add_library(minio_client
    src/minio_client.cpp
)

target_link_libraries(minio_client
    minio_http_client
    minio_ilogger
)

install(TARGETS minio_client
    CONFIGURATIONS Release Debug Profile Coverge
    LIBRARY DESTINATION lib
)
